import { request } from '@/utils/request/request';
import { RequestEnum } from '@/enums/httpEnum';

export const eventActivityApi = {
  eventActivityList: '/eventActivity/list',
  eventActivityDetail: '/eventActivity/detail',
} as const;

export const getEventActivityList = (params: API.eventActivityListListRequest) => {
  return request({
    url: eventActivityApi.eventActivityList,
    method: RequestEnum.GET,
    params,
  });
};
